package com.xiaomi.service;

import com.github.pagehelper.PageInfo;
import com.xiaomi.domain.CategoryEntity;
import com.xiaomi.domain.UserEntity;

import java.io.IOException;
import java.util.List;

public interface CateService {
    public PageInfo<CategoryEntity> findAllCates(int pageNum,int pageSize) throws IOException;//分页查找
    public void addCate(CategoryEntity categoryEntity);
    public  void dele(int id);
    public  void delets(String[] ids);
    public  CategoryEntity findById(String cid);
    public void cateAlter(CategoryEntity categoryEntity);
    public  List<CategoryEntity> findAllCate();//查找全部
}
